prepare("select * from designate where positions = '$names'") ; $chk->execute(); if($chk->rowcount() > 0) { $msg = "Position Already Registered, Register another" ; } else { if($user->regposition($names)) { $msg = "Position Registered Successfully" ; } } } ?> Admin Panel

Register Position|Designations

prepare("select * from designate") ; $gtcat->execute() ; $count = 0 ; while($row = $gtcat->fetch(pdo::FETCH_ASSOC)) { $count++ ; echo "" ; echo "" ; echo "" ; ?> " ; } ?>
SN DESIGNATION NAME ACTIONS
".$count."".$row['positions']."DELETE